//
//  RDTableView.h
//  eCourseApp
//
//  Created by 飞猪 on 2018/9/2.
//  Copyright © 2018年 Facebook. All rights reserved.
//

#import <UIKit/UIKit.h>
#import "RDPageModel.h"

typedef NS_ENUM(NSUInteger, TableViewScrollDirecton) {
  TableViewScrollDirectonUp,
  TableViewScrollDirectonDown,
  TableViewScrollDirectonUnknown,
};

@interface RDTableView : UITableView

@property (nonatomic) NSInteger cellIndex;
@property (nonatomic, strong) NSArray<RDPageModel *> *dataArray;

@property (nonatomic) BOOL isReloading;
@property (nonatomic) BOOL arrivedZeroOffset;

@property (nonatomic) TableViewScrollDirecton scrollDirection;

@end
